﻿<Window x:Class="PhoneModules.Wpf.QRCodeWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:common="clr-namespace:MayhemWpf.UserControls;assembly=MayhemWpf"
		Title="Pair With Phone" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="WidthAndHeight" WindowStartupLocation="Manual" Loaded="Window_Loaded">

	<StackPanel Style="{StaticResource BackgroundGradient}">
		<common:Borders Margin="0,0,0,10">
			<StackPanel>
				<TextBlock TextWrapping="WrapWithOverflow" TextAlignment="Center" Width="260">
					Using the Mayhem Remote application on your smart phone, scan the QR code to connect.
				</TextBlock>
				<Image Name="imageQR" Height="260" Width="260" Margin="0,10,0,0" />
				
				
				<StackPanel Visibility="Collapsed" Orientation="Horizontal" Margin="0,10,0,10">
					<TextBlock FontSize="14">IP Address:</TextBlock>
					<TextBlock FontSize="14" Margin="16,0,0,0" Name="textIP" />
				</StackPanel>
				<StackPanel Visibility="Collapsed" Orientation="Horizontal">
					<TextBlock FontSize="14">Port:</TextBlock>
					<TextBlock FontSize="14" Margin="56,0,0,0" Name="textPort" />
				</StackPanel>
				
				<Button Margin="0,10,0,0" Width="100" Click="Button_Click">OK</Button>
			</StackPanel>
		</common:Borders>
	</StackPanel>
</Window>
